package edu.zjut.sjq.mapper;

import edu.zjut.sjq.bean.Comment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CommentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Comment record);

    List<Comment> selectByRecordId(@Param("articleId") Integer articleId, @Param("topicId") Integer topicId);

}